package cn.com.aiton.common.model.extend;

import cn.com.aiton.common.model.BaseDomain;

import java.util.Date;

public class AitonExtendVipDomain extends BaseDomain {
    //有效性
    private Integer validity;
    //方向，不重要参数
    private Integer direc;
    //启动控制
    private Integer control;
    //开始时间，用于提示值班人员
    private Date startTime;
    //结束时间，用于提示值班人员
    private Date endTime;
    //信号机列表，以“，”分割的一个字符串，请用StringUtils进行操作
    private String listNode;
    //信号机的配置方案列表，以“，”分割的一个字符串，请用StringUtils进行操作
    private String listStagePattern;
    //信号机之间的时间间隔列表，以“，”分割的一个字符串，请用StringUtils进行操作
    private String timeDiff;

    public AitonExtendVipDomain(Long id) {

    }

    public AitonExtendVipDomain() {

    }
    @Override
    public String toString() {
        return "Vip{" +
                "validity=" + validity +
                ", direc=" + direc +
                ", control=" + control +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", listNode='" + listNode + '\'' +
                ", listStagePattern='" + listStagePattern + '\'' +
                ", timeDiff='" + timeDiff + '\'' +
                '}';
    }

    public AitonExtendVipDomain(Long id, Integer validity, Integer direc, Integer control, Date startTime, Date endTime, String listNode, String listStagePattern, String timeDiff) {

        this.validity = validity;
        this.direc = direc;
        this.control = control;
        this.startTime = startTime;
        this.endTime = endTime;
        this.listNode = listNode;
        this.listStagePattern = listStagePattern;
        this.timeDiff = timeDiff;
    }

    public AitonExtendVipDomain(Integer validity, Integer direc, Integer control, Date startTime, Date endTime, String listNode, String listStagePattern, String timeDiff) {
        this.validity = validity;
        this.direc = direc;
        this.control = control;
        this.startTime = startTime;
        this.endTime = endTime;
        this.listNode = listNode;
        this.listStagePattern = listStagePattern;
        this.timeDiff = timeDiff;
    }

    public Integer getValidity() {
        return validity;
    }

    public void setValidity(Integer validity) {
        this.validity = validity;
    }

    public Integer getDirec() {
        return direc;
    }

    public void setDirec(Integer direc) {
        this.direc = direc;
    }

    public Integer getControl() {
        return control;
    }

    public void setControl(Integer control) {
        this.control = control;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getListNode() {
        return listNode;
    }

    public void setListNode(String listNode) {
        this.listNode = listNode;
    }

    public String getListStagePattern() {
        return listStagePattern;
    }

    public void setListStagePattern(String listStagePattern) {
        this.listStagePattern = listStagePattern;
    }

    public String getTimeDiff() {
        return timeDiff;
    }

    public void setTimeDiff(String timeDiff) {
        this.timeDiff = timeDiff;
    }
}
